--- maked by Kronos aka Hellboy ---

local transform_oven_table = { --- [moveitem.itemid] = {moveitemCount (nil = 1), newId, newCount (nil = 1)}
	[9675] = {newId = 5892, effect = CONST_ME_HITBYFIRE}, --- glass
	[2693] = {newId = 2689, effect = CONST_ME_HITBYFIRE} --- rolls
}

function onAddItem(moveitem, tileitem, position)

	craftingMovements(moveitem, tileitem, position, transform_oven_table[moveitem.itemid])
--[[
	local ITEM = nil
	ITEM = transform_oven_table[moveitem.itemid]
	if ITEM == nil then
		return false
	end

	doRemoveItem(moveitem.uid)
	doSendMagicEffect(position, CONST_ME_HITBYFIRE)
	doCreateItem(ITEM.newId, (ITEM.newCount ~= nil and ITEM.newCount or moveitem.type), position)
	]]
	return true
end